// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Category.cs" company="IMS ">
//   Copyright IMS
// </copyright>
// <summary>
// Category Class Definition
// </summary>
// <author>Thiru Sudagoni</author>
// <history>16 October 2012</history>
// --------------------------------------------------------------------------------------------------------------------

#region usings

using System.ComponentModel.DataAnnotations;

#endregion usings

namespace BO
{
    /// <summary>
    ///  Category Class Definition
    /// </summary>
    public class Category
    {
        /// <summary>
        /// Gets or sets the CategoryId.
        /// </summary>
        /// <value>
        /// The CategoryId.
        /// </value>

        [Key]
        public System.Int32? CategoryId { get; set; }

        /// <summary>
        /// Gets or sets the Name.
        /// </summary>
        /// <value>
        /// The Name.
        /// </value>
        public System.String Name { get; set; }

        /// <summary>
        /// Gets or sets the Description.
        /// </summary>
        /// <value>
        /// The Description.
        /// </value>
        public System.String Description { get; set; }

        /// <summary>
        /// Gets or sets the CreateDate.
        /// </summary>
        /// <value>
        /// The CreateDate.
        /// </value>
        public System.DateTime? CreateDate { get; set; }

        /// <summary>
        /// Gets or sets the UpdateDate.
        /// </summary>
        /// <value>
        /// The UpdateDate.
        /// </value>
        public System.DateTime? UpdateDate { get; set; }

        /// <summary>
        /// Gets or sets the Active.
        /// </summary>
        /// <value>
        /// The Active.
        /// </value>
        public System.Boolean? Active { get; set; }
    }
}